package com.ciaojian.core.model.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ciaojian.core.enums.business.MaterialApplyRecordStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * @author Atlakyn
 */
@Data
@Accessors(chain = true)
public class MaterialApplyRecordDTO {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("审核状态")
    private MaterialApplyRecordStatusEnum status;

    @ApiModelProperty("材料申请")
    private List<MaterialApplyRecordMaterialDTO> materialApplyRecordMaterialList;

    @ApiModelProperty("物流状态")
    private Integer logistics;

    @ApiModelProperty("备注")
    private String remark;

    private Date addTime;

    private Date updateTime;
}
